/**
 * 配置编译环境和线上环境之间的切换
 *
 * baseUrl: 域名地址
 *
 */

let baseUrl;
let domainUrl;
const devUrl = '';
const devDomain = "";
// const devUrl = 'http://192.168.1.154:8081';
// const devDomain = "http://192.168.1.154:8081";
// const devUrl = 'http://120.79.129.116:8888';
// const devDomain = "http://120.79.129.116:8888";

const prodUrl = 'https://api.fengwobang.com';
const prodDomain = "https://h5.fengwobang.com";

// 金钱比例
const PRICE_RADIUS = 10000;

console.log('envConfig');
// 测试 dev 线上打包 prod
const devlopment = 'prod';
if ( devlopment == 'dev') {
	baseUrl = devUrl;
	domainUrl = devDomain;
}else{
	baseUrl = prodUrl;
	domainUrl = prodDomain;
}

export default {
	baseUrl,
	domainUrl,
	devlopment,
	PRICE_RADIUS
}
